package imgboard;

import org.springframework.web.multipart.MultipartFile;

/*
create table img_board (
	ino number(5) not null,
	title varchar(50) not null,
	pass varchar(10) not null,
	ipaddress varchar(20) not null,
	imgname varchar(20) not null,
	imgsize number(10) not null,
	imgdate date not null,
	primary key(ino)
);
*/
public class ImgDTO {
	private int ino;
	private String title;
	private String pass;
	private String ipaddress;
	private String imgname;
	private long imgsize;
	private String imgdate;
    private MultipartFile filenameMF;    
	
	public ImgDTO(int ino, String title, String pass, String ipaddress,
			String imgname, long imgsize, String imgdate,
			MultipartFile filenameMF) {
		super();
		this.ino = ino;
		this.title = title;
		this.pass = pass;
		this.ipaddress = ipaddress;
		this.imgname = imgname;
		this.imgsize = imgsize;
		this.imgdate = imgdate;
		this.filenameMF = filenameMF;
	}

	public ImgDTO() {
		super();
	}

	public int getIno() {
		return ino;
	}

	public void setIno(int ino) {
		this.ino = ino;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getIpaddress() {
		return ipaddress;
	}

	public void setIpaddress(String ipaddress) {
		this.ipaddress = ipaddress;
	}

	public String getImgname() {
		return imgname;
	}

	public void setImgname(String imgname) {
		this.imgname = imgname;
	}

	public long getImgsize() {
		return imgsize;
	}

	public void setImgsize(long imgsize) {
		this.imgsize = imgsize;
	}

	public String getImgdate() {
		return imgdate;
	}

	public void setImgdate(String imgdate) {
		this.imgdate = imgdate;
	}

	public void setFilenameMF(MultipartFile filenameMF) {
		this.filenameMF = filenameMF;
	}

	public MultipartFile getFilenameMF() {
		return filenameMF;
	}
}
